package com.steel.yfmall.cloud.assistant.dto.para.contract;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class ParaContractBaseBean {
   private ContractInfo contract;
   private AddressInfo address;
   private List<GoodsInfo> goods;
   private List<ContractRegion> regions;

   @Data
   public class ContractInfo{
      private String contractNo;
      private String contractName;
      private String contractVer;
      private String contractSpecies;
      private String contractNewType;
      private String contractConmprop;
      private String contractTemplate;
      private String bizmode;
      private Date cantractBiztime;
      private Date contractDate;
      private Date contractEndDate;
      private String contractContparties;
      private String framenum;
      private String billstatus;
      private String prodClass;
      private String signedSite;//签订地点
      private String settletype;
      private String payMethod;
      private String memo;
      private String org;
      private String customer;
      private String settlecustomer;
      private String payingcustomer;
      private String payty1st;
      private String contactperson1st;
      private String phone1st;
      private String party2nd;
      private String contactperson2nd;
      private String phone2nd;
      private String partc;
      private String remoteStorage;
      private String endUser;
      private String currency;
      private BigDecimal exchangeRate;
      private BigDecimal totalAmount;
      private BigDecimal totalFee;
      private String deliveryTolerance2;
      private String isPricepolicy;
      private String inputcode;
      private String transType;
      private String wgtMode;
      private BigDecimal totalWeight;
      private String typeOfContract;
   }
   @Data
   public class AddressInfo{
      private String settlementTicket;
      private String endArea;
      private String endNo;
      private String consignee;
      private String addressName;
   }
   @Data
   public class GoodsInfo{
      private String categoryId;
      private String material;
      private double orderLength;
      private String craft;
      private double orderThick;
      private String sizePieces;
      private BigDecimal prodPrice;
      private int contractQty;
      private String brandId;
      private String isDowngrade;
      private String color;
      private double orderWidth;
      private String size;
      private String qualityType;//品质分类
      private String materHome;
      private String cqProductSysCode;//商品行号
   }
   @Data
   public class ContractRegion{
      private String contractNo;
      private String storageType;
      private String storageCode;
   }
}



